import request from "@/request";

export async function addAnswerResultUsingPost(body) {
    return request({
        method: 'POST',
        url: '/api/answer/add',
        data: body
    })
}

export async function getAnswerResultVOByIdUsingGet(id){
    return request({
        method: 'GET',
        url: '/api/answer/get/vo/by/id',
        params:{
            id: id
        }
    })
}

export async function listMyAnswerResultVOByPageUsingPost(body){
    return request({
        method: 'POST',
        url: '/api/answer/list/vo/my',
        data: body
    })
}

export async function listAnswerResultVOByPageUsingPost(body){
    return request({
        method: 'POST',
        url: '/api/answer/list/vo',
        data: body
    })
}

export async function deleteAnswerResultUsingPost(body){
    return request({
        method: 'POST',
        url: '/api/answer/delete',
        data: body
    })
}